package com.csun.cmny.provider.model.vo.disinfection;

import com.csun.cmny.provider.model.domain.OmcDisinfectionRecordBind;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;


import java.util.Date;
import java.util.List;

@Data
public class OmcDisinfectionRecordVo {

    //消毒记录id
    private Long recordId;

    //消毒照片
    private String image;

    //消毒类型
    private Integer typeId;

    //楼栋id
    private Integer buildId;

    //楼栋名称
    private String buildName;

    //消毒日期
    private String disinfectionDate;

    //资产编号
    private String serviceItemNo;

    //楼层床号
    private String location;

    //老人id
//    private Long oldmanId;
//
//    private String oldmanName;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 创建人ID
     */
    private Long creatorId;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    //备注
    private String remark;

    //消毒记录
    private List<OmcDisinfectionRecordBind> omcDisinfectionRecordBinds;
}
